from .base import *

DEBUG = True

ALLOWED_HOSTS = ['*']

## 务必修改以下值，确保运行时系统安全:
SECRET_KEY = "w$46bks+b3-7f(13#i%v@jwejrnxc$^^#@#@^t@fofizy1^mo9r8(-939243423300"

## 如果仅使用数据库中的账号，以下 LDAP 配置可忽略
## 替换这里的配置为正确的域服务器配置，同时可能需要修改 base.py 中的 LDAP 服务器相关配置:
LDAP_AUTH_URL = "ldap://xxxxx:389"
LDAP_AUTH_CONNECTION_USERNAME = "admin"
LDAP_AUTH_CONNECTION_PASSWORD = "your_admin_credentials"

INSTALLED_APPS += (
    # other apps for production site
)


## 钉钉群的 WEB_HOOK， 用于发送钉钉消息
DINGTALK_WEB_HOOK = "https://oapi.dingtalk.com/robot/send?access_token=3a60e3839feb5a53c0a54d32d2e5861fc7f41903a6412e2b0080cb3751dd63e9"
DINGTALK_SECRET = 'SEC113d58d62f72b5958ddaa25b8c76e3c181b316720afaf53fc94f1b906b95faac'

# DINGTALK_WEB_HOOK = "https://oapi.dingtalk.com/robot/send?access_token=3e35978b06a67d8246807e28507bc8ae198c7be12f605da42a6c09e0a47065bd"
# DINGTALK_SECRET = 'SECad20059546e5e8dec9520d938fb95a083407d127b607e0c4368c1085ed076829'

# 群聊id
CHATID = 'chat51b9258f58adf9bf1ef1fe4223b63a57'

# 钉钉应用密钥
APPKEY = 'dingcf30bzefpgrssqth'
APPSECRET = 'AUL9EK9zud74RH-gbC4wSMPa67srYQ1NFIePT5cLPRFF4H3QQ0Hi5E3qBcfLTaKG'